package com.xuqi.W3;

/**
 * Worker thread to execute W3Request asynchronously.
 */
public class W3WorkerThread extends Thread {
	private	W3	m_cRequestHandler;	
	
	public W3WorkerThread(Runnable command) {
		super(command, "W3 Worker Thread");
	}
	
	public W3 getHandler() {
		if ( null == m_cRequestHandler ) {
			m_cRequestHandler = new W3();
		}
		return m_cRequestHandler;
	}
}
